package com.zoe;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/09/21
 * @Description
 */
@RestController
public class HelloController {
    @GetMapping("/")
    public List<String> hello() {
        List<String> objects = CollUtil.newArrayList();
        for (int i = 0; i < 10000; i++) {
            objects.add(DateUtil.today());
        }
        return objects;
    }
}
